package com.agency.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by Lu.Bing on 16-6-27.
 *
 * @author Lu.Bing
 */
@Controller
public class ErrorPages {

    @RequestMapping(value = "notFound.htm")
    public String page404() {
        return "errPages/404";
    }

    @RequestMapping(value = "systemError.htm")
    public String page500() {
        return "errPages/500";
    }
}
